<template>
	<view class="loading-text">
		<text></text>
		<text>{{loadingText}}</text>
		<text></text>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		props:{
			loadingText:{
				type:String,
				default:'没有数据了'
			}
		},
	}
</script>

<style lang="scss">
	.loading-text {
		display: flex;
		align-items: center;
		padding: 0 60upx 50upx;
		margin: 30upx 0 0;
		text{
			display: block;
			&:nth-child(1),
			&:nth-child(3){
				flex: 1;
				height: 1px;
				background-color:  #eee;
			}
			&:nth-child(2){
				color: #979797;
				font-size: 24upx;
				padding: 0 20upx;
			}
		}
	}
</style>
